package com.scrumtrek.trainings.tdd;

import java.util.HashSet;
import java.util.Set;

/**
 * Created with IntelliJ IDEA.
 * User: skashin
 * Date: 21.02.13
 * Time: 14:00
 * To change this template use File | Settings | File Templates.
 */
public interface IStore {

    public int getTotalItemsAmountByType(Class clazz);

    public void addItem(Item item);

    public Set<Item> getItemsByTitle(String titleName);

    public Set<String> getFormattedTitlesByType(Class<Book> clazz);

    public Set<Item> getItemsByType(Class clazz);

    public void sell(Item item);
}
